Skip to content

[common]: Add multi-port support for component services - #188

Merged
wthhub merged 1 commit into
bedag:masterfrom
rekup:feat/common-svc-multiport
Aug 17, 2026
Merged

[common]: Add multi-port support for component services#188
wthhub merged 1 commit into
bedag:masterfrom
rekup:feat/common-svc-multiport

Conversation

@rekup

@rekup rekup commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

What this PR does:
Extends the common chart's Service template templates/_service.yaml to support multiple ports on a single Kubernetes Service, needed for StatefulSet governing/headless services. Adds an optional ports list per components.<name>.services.<name> entry (name, port, targetPort, protocol), which takes precedence over the existing singular name/port/targetPort/protocol fields when present. Also adds an optional publishNotReadyAddresses field for StatefulSet governing services.

Fully backwards compatible, existing single-port service configs render identically.

Which issue this PR fixes
fixes #187

Notes for Reviewer:

  • No values.schema.json changes required since the services schema has no additionalProperties: false restriction, so the new fields are already permitted.

Checklist:

  • Pull Request title in format [chart]: Changed Something
  • Updated documentation in the README.md.gotmpl file and executed helm-docs
  • Chart Version bumped
  • All commits are signed-off

Signed-off-by: Reto Kupferschmid <kupferschmid@puzzle.ch>
@rekup
rekup marked this pull request as ready for review August 17, 2026 09:20
@rekup
rekup requested review from a team as code owners August 17, 2026 09:20

@wthhub wthhub left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for contributing!

@wthhub
wthhub merged commit 7465f49 into bedag:master Aug 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[common] Support multiple ports per Service

2 participants